home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-06-04 | 2.8 KB | 80 lines | [TEXT/MPS ] |
- #
- # Apple Macintosh Developer Technical Support
- #
- # XTND-Capable, MultiFinder-Aware Simple Styled TextEdit Sample Application
- #
- # XTEStyleSample
- #
- # XTEStyleSample.p - Pascal Source
- #
- # Copyright © 1989 Apple Computer, Inc.
- # All rights reserved.
- #
- # Versions: 1.0 10/89
- # 2.0 3/91
- #
- # Components: XTEStyleSample.p March 29, 1991
- # XTEStyleSampleGlue.a March 29, 1991
- # XTEStyleSample.r March 29, 1991
- # XTEStyleSample.h March 29, 1991
- # Makefile March 29, 1991
- #
- # TEStyleSample is an example application that demonstrates how
- # to initialize the commonly used toolbox managers, operate
- # successfully under MultiFinder, handle desk accessories and
- # create, grow, and zoom windows. Both styled and fundamental TextEdit
- # toolbox calls and TextEdit autoscroll are demonstrated. It
- # also shows how to create and maintain scrollbar controls as well
- # as implementing a basic printing loop.
- #
- # It does not by any means demonstrate all the techniques you
- # need for a large application. In particular, TEStyleSample does not
- # cover exception handling, multiple windows/documents,
- # sophisticated memory management, or undo. All of
- # these are vital parts of a normal full-sized application.
- #
- # This application is an example of the form of a Macintosh
- # application; it is NOT a template. It is NOT intended to be
- # used as a foundation for the next world-class, best-selling,
- # 600K application. A stick figure drawing of the human body may
- # be a good example of the form for a painting, but that does not
- # mean it should be used as the basis for the next Mona Lisa.
- #
- # We recommend that you review this program, TESample or Sample before
- # beginning a new application. TESample is a simpler version of TEStyleSample
- # without styles and Sample is a simple app. which doesn’t
- # use TextEdit or the Control Manager.
- #
-
- XTNDLibPath = :::XTND Headers:XTNDLibraries: ### Change this if you reorganize the folder structure
- HeaderPath = :::XTND Headers:XTNDPInterfaces: ### Change this if you reorganize the folder structure
-
- POptions = -sym full -i "{HeaderPath}"
-
- PLibs = "{XTNDLibPath}"XTNDInterfacelib.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{PLibraries}"PasLib.o
-
- PObjs = XTEStyleSample.p.o ∂
- XTEFileIO.p.o ∂
- XTEStyleSampleGlue.a.o
-
- XTEStyleSample ƒƒ {PObjs} {PLibs} Makefile
- Link -sym full -o {Targ} {PObjs} {PLibs}
- SetFile {Targ} -t APPL -c 'XTND' -a B
-
- XTEStyleSample ƒƒ XTEStyleSample.r XTEStyleSample.h Makefile
- Rez -rd -append -o {Targ} XTEStyleSample.r
-
- XTEStyleSample.p.o ƒƒ Makefile XTEStyleSample.p ∂
- "{HeaderPath}"XTNDInterface.p ∂
- "{HeaderPath}"XTNDTextTranslator.p ∂
- "{HeaderPath}"XTNDPictTranslator.p ∂
- XTEFileIO.p.o
-
- XTEFileIO.p.o ƒ XTEFileIO.p ∂
- "{HeaderPath}"XTNDInterface.p ∂
- "{HeaderPath}"XTNDTextTranslator.p ∂
- "{HeaderPath}"XTNDPictTranslator.p
-